﻿// Copyright (c) .NET Foundation and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System.Text;

namespace Roslynator.Text;

internal static class StringBuilderExtensions
{
    public static StringBuilder Replace(this StringBuilder sb, string oldValue, string newValue, int startIndex)
    {
        return sb.Replace(oldValue, newValue, startIndex, sb.Length - startIndex);
    }
}
